<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content animated fadeInRight">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox-content">
					<form class="form-horizontal m-t" id="signupForm">
						        <input id="menuIds"
								name="parentOrgId" type="hidden" th:value="${org.parentId}">
								<input id="orgId" name="orgId" type="hidden"
								th:value="${org.menuId}">
								<input id="areaCode" name="areaCode" type="hidden">
								<input id="areaName" name="areaName" type="hidden">
								<input id="provinceCode" name="province" type="hidden"
								th:value="${org.province}">
								<input id="cityCode" name="cityCode" type="hidden"
								th:value="${org.city}">
								<input id="villageCode" name="villageCode" type="hidden"
								th:value="${org.village}">
						    <div class="form-group">
								<label class="col-sm-3 control-label">父组织：</label>
								<div class="col-sm-8">
									<div id="menuTree"></div>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">组织机构名称：</label>
								<div class="col-sm-8">
									<input id="orgName" th:value="${org.name}" name="orgName" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">组织机构简称：</label>
								<div class="col-sm-8">
									<input id="orgShortName" th:value="${org.orgShortName}" name="orgShortName" class="form-control" type="text">
								</div>
							</div>
							
							<div class="form-group">
								<label class="col-sm-3 control-label">省：</label>
								<div class="col-sm-8">
									<select class="form-control" name="province" id="Province">
                                    <option> 请选择 </option>
                                    </select>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">市：</label>
								<div class="col-sm-8">
									<select class="form-control" name="city" id="City">
                                    <option> 请选择 </option>
                                    </select>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">县/区：</label>
								<div class="col-sm-8">
									<select class="form-control" name="village" id="Village">
                                    <option> 请选择 </option>
                                    </select>
								</div>
							</div>
							
							<div class="form-group">
								<label class="col-sm-3 control-label">医院等级代码：</label>
								<div class="col-sm-8">
									<input id="gradeCode" th:value="${org.gradeCode}" name="gradeCode" class="form-control" type="text">
								</div>
							</div>
							
							<div class="form-group">
								<label class="col-sm-3 control-label">医院等级名称：</label>
								<div class="col-sm-8">
									<input id="gradeName" th:value="${org.gradeName}" name="gradeName" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">
							<label class="col-sm-3 control-label">类型:</label>
							<div class="col-sm-8">
								<label class="radio-inline"> <input
									 th:field="*{org.orgTypeCode}" type="radio" name="orgTypeCode" value="1" />
									医院
								</label> <label class="radio-inline"> <input
									 th:field="*{org.orgTypeCode}" type="radio" name="orgTypeCode" value="2" />
									科室
								</label>
							   </div>
						    </div>
							<div class="form-group">
								<label class="col-sm-3 control-label">联系电话：</label>
								<div class="col-sm-8">
									<input id="phone" th:value="${org.phone}" name="phone" class="form-control" type="text">
								</div>
							</div>
							
							<div class="form-group"> 
								<label class="col-sm-3 control-label">地址：</label>
								<div class="col-sm-8">
									<input id="address" th:value="${org.address}" name="address" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">备注：</label>
								<div class="col-sm-8">
									<input id="remarks" th:value="${org.remarks}" name="remarks" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">
								<input id="content" th:value="${org.introduction}" name="introduction" type="hidden"> <label
									class="col-sm-1 control-label">简介：</label>
								<div class="col-sm-11">
									<div class="ibox-content no-padding">
										<div id="content_sn" class="summernote"></div>
									</div>
								</div>
							</div>
						    <div class="form-group">
							<label class="col-sm-3 control-label">状态:</label>
							<div class="col-sm-8">
								<label class="radio-inline"> <input
									 th:field="*{org.flag}" type="radio" name="flag" value="1" />
									正常
								</label> <label class="radio-inline"> <input
									 th:field="*{org.flag}" type="radio" name="flag" value="0" />
									禁用
								</label>
							   </div>
						    </div>
							<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<input id="submit" class="btn btn-primary" name="submit" type="submit" value="提交" >
								</div>
							</div>
						</form>
				</div>
			</div>
		</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/org/organization/edit.js"></script>
</body>
</html>
